package com.example.test.qtnet

import okhttp3.RequestBody
import retrofit2.http.*

interface ApiService {
    @POST("AppInterFace/GetToken")
    suspend fun getToken(@Body body: RequestBody?): BaseResponseBean

    @POST("TencentCloud/SendPhoneVCode")
    @FormUrlEncoded
    suspend fun getVcode(@Field("PhoneNumber") phoneNumber: String, @Field("Type") type: String): BaseResponseBean

    @POST("Bill/QueryInvoiceTitleList")
    @FormUrlEncoded
    suspend fun queryInvoiceTitleList(@Field("PageIndex") pageIndex: String,
                         @Field("PageSize") pageSize: String): BaseResponseBean


    @POST("Bill/QueryInvoiceTitleList")
    suspend fun test(@Body body: RequestBody): BaseResponseBean


    /***获取注册身份证 */
    @POST("AppOper/QueryRegInfoByPhone")
    @FormUrlEncoded
    suspend fun getIdentifyList(@Field("Phone") PhoneNum: String
                        , @Field("VerificationCode") VCode: String): BaseResponseBean

}